﻿@model CERT.Models.LocalPasswordModel

 <div class="panel panel-primary" title="Change Password">
        <div class="panel-heading">
            <h3 class="panel-title center">Change Password</h3>
        </div>
        <div class="container">

            @using (Html.BeginForm("Manage", "Account", FormMethod.Post, new { id = "changePasswordForm" }))
            {
                @Html.AntiForgeryToken()
                @Html.ValidationSummary()
               
               <div class="row">
                   <div class="col-md-2">
                  
                            @Html.LabelFor(m => m.OldPassword)
                       </div>
                   <div class="col-md-4">
                            @Html.PasswordFor(m => m.OldPassword)
                        </div>
                   </div>
                <div class="row">
                    <div class="col-md-2">
                            @Html.LabelFor(m => m.NewPassword)
                         </div>
                   <div class="col-md-4">
                            @Html.PasswordFor(m => m.NewPassword, new  { @class = "password_test"})
                        </div>
                    </div>
                <div class="row">
                       <div class="col-md-2">
                            @Html.LabelFor(m => m.ConfirmPassword)
    </div>
                   <div class="col-md-4">
                            @Html.PasswordFor(m => m.ConfirmPassword)
                        </div>
                    </div>
                <div class="row">
                       <div class="col-md-4">
                    <input type="submit" value="Change password" />
                </div>
                    </div>
            }
            <script>
                jQuery(function ($) {
                    $(".password_test").passStrengthify();
                });

</script>
    </div>
     </div>
